#include "StateData.h"

//-------------------------------------------------------------------------
CStateData::CStateData()
{
}

//-------------------------------------------------------------------------
const CString &CStateData::GetName() 
{ 
	return m_szName; 
}

//-------------------------------------------------------------------------
const CActionDataPtr &CStateData::GetEntryActionData(u32_t idx) 
{ 
	return m_vEntryActionData[idx]; 
}

//-------------------------------------------------------------------------
const CActionDataPtr &CStateData::GetExitActionData(u32_t idx) 
{ 
	return m_vExitActionData[idx]; 
}

//-------------------------------------------------------------------------
const CActionDataPtr &CStateData::GetActionData(u32_t idx) 
{ 
	return m_vActionData[idx]; 
}

//-------------------------------------------------------------------------
const CTransitionDataPtr &CStateData::GetTransitionData(u32_t idx) 
{ 
	return m_vTransitionData[idx]; 
}

//-------------------------------------------------------------------------
u32_t CStateData::GetSizeEntryActionData() 
{ 
	return m_vEntryActionData.size(); 
}

//-------------------------------------------------------------------------
u32_t CStateData::GetSizeExitActionData() 
{ 
	return m_vExitActionData.size(); 
}

//-------------------------------------------------------------------------
u32_t CStateData::GetSizeActionData() 
{ 
	return m_vActionData.size(); 
}

//-------------------------------------------------------------------------
u32_t CStateData::GetSizeTransitionData() 
{ 
	return m_vTransitionData.size(); 
}


DEFINE_RTTI_CLASS( CStateData, CFSMData );